package com.livgo.dao.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadFileDto {

    @NotNull(message = "上传类型不能为空！")
    private Integer type;

    private String secretKey;

    private Integer maxCount;

    private LocalDateTime expireTime;

    @NotNull(message = "上传文件不能为空！")
    private MultipartFile file;

}
